Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [XD-47]: Initial effort for component library docs #617

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

knagurski
Copy link
Collaborator

This PR adds the initial (and mostly unstyled) version of the component docs app.

@knagurski knagurski self-assigned this Dec 19, 2024
Copy link

netlify bot commented Dec 19, 2024

Deploy Preview for harness-xd-review ready!

Name Link
🔨 Latest commit 093ed08
🔍 Latest deploy log https://app.netlify.com/sites/harness-xd-review/deploys/677d5155b2403f0008382db6
😎 Deploy Preview https://deploy-preview-617--harness-xd-review.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@knagurski knagurski force-pushed the xd-47-component-library-docs branch from f621827 to bf9c07f Compare December 19, 2024 20:57
@knagurski knagurski force-pushed the xd-47-component-library-docs branch 2 times, most recently from 2eee22e to 8dc43d6 Compare January 7, 2025 14:43
@knagurski knagurski force-pushed the xd-47-component-library-docs branch from 8dc43d6 to 093ed08 Compare January 7, 2025 16:07
@@ -131,7 +131,7 @@
"jsdom": "^25.0.1",
"lint-staged": "^15.2.9",
"tailwindcss": "^3.4.14",
"typescript": "^5.5.3",
"typescript": "~5.6.2",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need this upgrade as part of this PR?
any expected issues with this? not sure if other packages are using the same versions yet.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I was seeing an issue reported in the console when I was integrating stuff. I'll revert and change to ~ since TS doesn't really do semver (annoyingly).

Copy link
Collaborator Author

@knagurski knagurski Jan 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, just looking at the output of pnpm why typescript and it looks like we're actually using TS 5.7.2 across the board

Legend: production dependency, optional only, dev only

harness-canary /Users/knagurski/development/canary

devDependencies:
@typescript-eslint/eslint-plugin 6.5.0
├─┬ @typescript-eslint/parser 6.5.0 peer
│ ├─┬ @typescript-eslint/typescript-estree 6.5.0
│ │ ├─┬ ts-api-utils 1.3.0
│ │ │ └── typescript 5.7.2 peer
│ │ └── typescript 5.7.2 peer
│ └── typescript 5.7.2 peer
├─┬ @typescript-eslint/type-utils 6.5.0
│ ├─┬ @typescript-eslint/typescript-estree 6.5.0
│ │ ├─┬ ts-api-utils 1.3.0
│ │ │ └── typescript 5.7.2 peer
│ │ └── typescript 5.7.2 peer
│ ├─┬ @typescript-eslint/utils 6.5.0
│ │ └─┬ @typescript-eslint/typescript-estree 6.5.0
│ │   ├─┬ ts-api-utils 1.3.0
│ │   │ └── typescript 5.7.2 peer
│ │   └── typescript 5.7.2 peer
│ ├─┬ ts-api-utils 1.3.0
│ │ └── typescript 5.7.2 peer
│ └── typescript 5.7.2 peer
├─┬ @typescript-eslint/utils 6.5.0
│ └─┬ @typescript-eslint/typescript-estree 6.5.0
│   ├─┬ ts-api-utils 1.3.0
│   │ └── typescript 5.7.2 peer
│   └── typescript 5.7.2 peer
├─┬ ts-api-utils 1.3.0
│ └── typescript 5.7.2 peer
└── typescript 5.7.2 peer
@typescript-eslint/parser 6.5.0
├─┬ @typescript-eslint/typescript-estree 6.5.0
│ ├─┬ ts-api-utils 1.3.0
│ │ └── typescript 5.7.2 peer
│ └── typescript 5.7.2 peer
└── typescript 5.7.2 peer
eslint-import-resolver-typescript 3.6.3
├─┬ eslint-module-utils 2.12.0
│ └─┬ @typescript-eslint/parser 6.5.0 peer
│   ├─┬ @typescript-eslint/typescript-estree 6.5.0
│   │ ├─┬ ts-api-utils 1.3.0
│   │ │ └── typescript 5.7.2 peer
│   │ └── typescript 5.7.2 peer
│   └── typescript 5.7.2 peer
└─┬ eslint-plugin-import 2.31.0 peer
  ├─┬ @typescript-eslint/parser 6.5.0 peer
  │ ├─┬ @typescript-eslint/typescript-estree 6.5.0
  │ │ ├─┬ ts-api-utils 1.3.0
  │ │ │ └── typescript 5.7.2 peer
  │ │ └── typescript 5.7.2 peer
  │ └── typescript 5.7.2 peer
  └─┬ eslint-module-utils 2.12.0
    └─┬ @typescript-eslint/parser 6.5.0 peer
      ├─┬ @typescript-eslint/typescript-estree 6.5.0
      │ ├─┬ ts-api-utils 1.3.0
      │ │ └── typescript 5.7.2 peer
      │ └── typescript 5.7.2 peer
      └── typescript 5.7.2 peer
eslint-plugin-import 2.31.0
├─┬ @typescript-eslint/parser 6.5.0 peer
│ ├─┬ @typescript-eslint/typescript-estree 6.5.0
│ │ ├─┬ ts-api-utils 1.3.0
│ │ │ └── typescript 5.7.2 peer
│ │ └── typescript 5.7.2 peer
│ └── typescript 5.7.2 peer
└─┬ eslint-module-utils 2.12.0
  └─┬ @typescript-eslint/parser 6.5.0 peer
    ├─┬ @typescript-eslint/typescript-estree 6.5.0
    │ ├─┬ ts-api-utils 1.3.0
    │ │ └── typescript 5.7.2 peer
    │ └── typescript 5.7.2 peer
    └── typescript 5.7.2 peer
eslint-plugin-tailwindcss 3.17.5
└─┬ tailwindcss 3.4.15 peer
  └─┬ postcss-load-config 4.0.2
    └─┬ ts-node 10.9.2 peer
      └── typescript 5.7.2 peer
typescript-eslint 8.14.0
├─┬ @typescript-eslint/eslint-plugin 8.14.0
│ ├─┬ @typescript-eslint/parser 8.14.0 peer
│ │ ├─┬ @typescript-eslint/typescript-estree 8.14.0
│ │ │ ├─┬ ts-api-utils 1.3.0
│ │ │ │ └── typescript 5.7.2 peer
│ │ │ └── typescript 5.7.2 peer
│ │ └── typescript 5.7.2 peer
│ ├─┬ @typescript-eslint/type-utils 8.14.0
│ │ ├─┬ @typescript-eslint/typescript-estree 8.14.0
│ │ │ ├─┬ ts-api-utils 1.3.0
│ │ │ │ └── typescript 5.7.2 peer
│ │ │ └── typescript 5.7.2 peer
│ │ ├─┬ @typescript-eslint/utils 8.14.0
│ │ │ └─┬ @typescript-eslint/typescript-estree 8.14.0
│ │ │   ├─┬ ts-api-utils 1.3.0
│ │ │   │ └── typescript 5.7.2 peer
│ │ │   └── typescript 5.7.2 peer
│ │ ├─┬ ts-api-utils 1.3.0
│ │ │ └── typescript 5.7.2 peer
│ │ └── typescript 5.7.2 peer
│ ├─┬ @typescript-eslint/utils 8.14.0
│ │ └─┬ @typescript-eslint/typescript-estree 8.14.0
│ │   ├─┬ ts-api-utils 1.3.0
│ │   │ └── typescript 5.7.2 peer
│ │   └── typescript 5.7.2 peer
│ ├─┬ ts-api-utils 1.3.0
│ │ └── typescript 5.7.2 peer
│ └── typescript 5.7.2 peer
├─┬ @typescript-eslint/parser 8.14.0
│ ├─┬ @typescript-eslint/typescript-estree 8.14.0
│ │ ├─┬ ts-api-utils 1.3.0
│ │ │ └── typescript 5.7.2 peer
│ │ └── typescript 5.7.2 peer
│ └── typescript 5.7.2 peer
├─┬ @typescript-eslint/utils 8.14.0
│ └─┬ @typescript-eslint/typescript-estree 8.14.0
│   ├─┬ ts-api-utils 1.3.0
│   │ └── typescript 5.7.2 peer
│   └── typescript 5.7.2 peer
└── typescript 5.7.2 peer

That's from current main

I'll leave everything as-is for now and open another PR to standardise with ~ across all apps/packages.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running in the ui package directly shows that 5.6.3 was the version being used. So this line's change from ^5.5.3 to ~5.6.2 has no effect ¯\(ツ)

@knagurski knagurski merged commit 86aeafa into main Jan 7, 2025
10 checks passed
@knagurski knagurski deleted the xd-47-component-library-docs branch January 7, 2025 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants